package james.gan.demo.server;

import java.util.ArrayList;
import java.util.List;

import james.gan.config.spring.annotation.RpcService;
import james.gan.demo.api.TestApi;

@RpcService(port = 7074, interfaceClass = TestApi.class, push = true, value = "testService")
public class ServerImpl implements TestApi {

	@Override
	public List<String> getScore(String name) {
		List<String> list = new ArrayList();
		list.add(name);
		list.add("96");
		return list;
	}
}
